﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleRayTracer
{
    // Ray class
    class Ray
    {
        public Vector3D origin = new Vector3D();
        public Vector3D direction = new Vector3D();
        public double min = 0.0; // minimum segment length point
        public double max = 1.0E10; // maximum segment length point

        public Ray(Vector3D origin, Vector3D direction, double min, double max)
        {
            this.origin = origin;
            this.direction = direction;
            this.min = min;
            this.max = max;
        }
    }
}
